package com.example.dao;

import com.example.model.UserDomain;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserDao {
    int insert(UserDomain record);
    List<UserDomain> selectUsers();

    List<UserDomain> getUserByName(String name);

    int deleteByPrimaryKey(Integer userid);

    int insertSelective(UserDomain record);

    UserDomain selectByPrimaryKey(Integer userid);

    int updateByPrimaryKeySelective(UserDomain record);

    int updateByPrimaryKey(UserDomain record);



}
